package com.xiaolin.designmode.builder;

import lombok.ToString;

/**
 * @ClassName Motorbike
 * @Description 产品类-摩托车
 * @Detail 包含各个组件，这些组件有构建者进行生产
 * @Author MyPC
 * @Date 2020/10/30
 * @Version 1.0
 */
@ToString
public class Motorbike {
    //车架
    private String frame;
    //发动机
    private String engine;
    //轮胎
    private String tire;

    public void setFrame(String frame) {
        this.frame = frame;
    }

    public void setEngine(String engine) {
        this.engine = engine;
    }

    public void setTire(String tire) {
        this.tire = tire;
    }

}
